package io.geekidea.boot.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.geekidea.boot.test.entity.Colleges;
import io.geekidea.boot.test.query.CollegesQuery;
import io.geekidea.boot.test.vo.CollegesVo;
import io.geekidea.boot.test.query.AppCollegesQuery;
import io.geekidea.boot.test.vo.AppCollegesVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author geekidea
 * @since 2025-02-19
 */
@Mapper
public interface CollegesMapper extends BaseMapper<Colleges> {

    /**
     * 详情
     *
     * @param id
     * @return
     */
    CollegesVo getCollegesById(Long id);

    /**
     * 分页列表
     *
     * @param query
     * @return
     */
    List<CollegesVo> getCollegesPage(CollegesQuery query);

    /**
     * Appnull详情
     *
     * @param id
     * @return
     */
    AppCollegesVo getAppCollegesById(Long id);

    /**
     * Appnull分页列表
     *
     * @param query
     * @return
     */
    List<AppCollegesVo> getAppCollegesPage(AppCollegesQuery query);

}
